package com.zjzywl.smoke.service;

import java.util.List;

import com.zjzywl.smoke.entity.Device;
import com.zjzywl.smoke.entity.DeviceStatus;

public interface DeviceService {
	Device save(Device device);
	void deleteDevice(int deviceid);
	Device findByDeviceCode(String devCode);
	void updateFirCount(String devCode,int fireCount);
	List<Device> findByUserAndDeviceTypeAndAddressLike(String userId, String deviceTypeId, String  status, String address);
	Long getDeviceCountByUserAndDeviceTypeAndStatus(String userId, String devicetypeid, String status);
	
}
